#@layout() #define main()
<center>
	<h1>
		<font size="3">订单管理&nbsp;&nbsp; <a href="/ClothingStorePOS/sell/addSaleOrder">添加新订单</a></font>
	</h1>
	<div class="table_box">
		<table class="list" width="800" border="1" bordercolor="#FF9966">
			<tbody>
				<tr>
					<th width="12%">订单号</th>
					<th width="15%">下单时间</th>
					<th width="8%">订单总金额</th>
					<th width="8%">收银员工号</th>
					<th width="8%">订单状态</th>
					<th width="15%">操作</th>
				</tr>

				#for(x : saleOrderPage.getList())
				<tr>
					<td style="text-align: center;">#(x.saleOrder_id)</td>
					<td style="text-align: center;">#(x.saleDateTime)</td>
					<td style="text-align: center;">#(x.Total)</td>
					<td style="text-align: center;">#(x.stuff)</td>
					<td style="text-align: center;">#(x.state)</td>
					<td style="text-align: center;"><a
						href="/ClothingStorePOS/sell/edit?saleOrderId=#(x.saleOrder_id)">编辑订单</a> <a
						href="/ClothingStorePOS/sell/delete/#(x.id)">删除订单</a></td>
				</tr>

				#end
			</tbody>
		</table>
		<br> #@paginate(saleOrderPage.pageNumber, saleOrderPage.totalPage,
		"/ClothingStorePOS/sell/")
	</div>
	#end
</center>